﻿using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 销售订单明细参数模型
    /// </summary>
    [DataContract]
    public struct SaleOrderDetailParam
    {
        /// <summary>
        /// 产品Id
        /// </summary>
        [DataMember]
        public Guid productId;

        /// <summary>
        /// 数量
        /// </summary>
        [DataMember]
        public decimal quantity;

        /// <summary>
        /// 生产批号
        /// </summary>
        [DataMember]
        public string productionBatchNo;

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int sort;

        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string description;
    }
}
